package com.ruoyi.supplier.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库对象 tb_store_out
 *
 * @author ruoyi
 * @date 2021-03-06
 */
public class TbStoreOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 出库批次号 */
    @Excel(name = "出库批次号")
    private String storeNumber;

    /** 出库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storeDate;

    /** 仓库表ID */

    private Long storeId;

    /** 出库单状态 */
    @Excel(name = "出库单状态")
    private Long storeStatus;

    @Excel(name = "仓库")
    private String storeName;

    @Excel(name = "门店类型")
    private String sName;
    private Long sId;

    /**
     * 出库类型 0、手动 1、盘点自动
     */
    private Integer storeType;

    /** 出库明细信息 */
    private List<TbStoreOutDetail> tbStoreOutDetailList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreNumber(String storeNumber)
    {
        this.storeNumber = storeNumber;
    }

    public String getStoreNumber()
    {
        return storeNumber;
    }
    public void setStoreDate(Date storeDate)
    {
        this.storeDate = storeDate;
    }

    public Date getStoreDate()
    {
        return storeDate;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setStoreStatus(Long storeStatus)
    {
        this.storeStatus = storeStatus;
    }

    public Long getStoreStatus()
    {
        return storeStatus;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getStoreType() {
        return storeType;
    }

    public void setStoreType(Integer storeType) {
        this.storeType = storeType;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }

    public List<TbStoreOutDetail> getTbStoreOutDetailList()
    {
        return tbStoreOutDetailList;
    }

    public void setTbStoreOutDetailList(List<TbStoreOutDetail> tbStoreOutDetailList)
    {
        this.tbStoreOutDetailList = tbStoreOutDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeNumber", getStoreNumber())
                .append("storeDate", getStoreDate())
                .append("storeId", getStoreId())
                .append("storeStatus", getStoreStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("tbStoreOutDetailList", getTbStoreOutDetailList())
                .toString();
    }
}
